﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    struct Child
    {
       public string name;
       public int age;
    }
    enum Person
    {
         sex
    };
    class Program
    {
        static void Main(string[] args)
        {
            //Child d = new Child()
            //{
            //    name = "卧槽",
            //    age = 18
            //};
            //DateTime p1 = DateTime.Now;
            //for (int i = 0; i < 99999999; i++) { }
            //DateTime p2 = DateTime.Now;
            //TimeSpan p3 = p1.Subtract(p2).Duration();
            //int p4 = p3.Milliseconds;
            //if( p4 < 2000 )
            //{

            //}
            //else
            //{

            //}
            //int a = 3;
            ////Console.WriteLine(typeof(double) == a.GetType());
            // Person a2 = Person.sex;

            //object obj = "Hello";
            //if (obj is string)
            //{
            //    Console.WriteLine("obj is a string");
            //}
            int s = 4;
            object e = s;
            //Console.WriteLine(e is object);
            //Console.WriteLine(a as int);
            Class1 o = new Class1();
            o.Test();
        }
    }
}
